package com.mayikt.strategy.impl;

import com.mayikt.base.BaseResponse;
import com.mayikt.entity.PaymentChannelEntity;
import com.mayikt.entity.PaymentTransactionEntity;
import com.mayikt.strategy.PayStrategy;
import org.springframework.stereotype.Component;

/**
 * @Name UnionPayStrategy
 * @Author 枫火
 * @Date 2021/7/14 19:45
 * @Description
 **/
@Component
public class UnionPayStrategy implements PayStrategy {
    @Override
    public String toPayHtml(PaymentChannelEntity pce, PaymentTransactionEntity pte) {
        return "调用银联的支付接口";
    }

    @Override
    public BaseResponse<String> verifyOrder(PaymentChannelEntity pce, String paymentId) {
        return null;
    }
}
